<script lang='ts' setup>
import { ref, onMounted, reactive } from 'vue'
import OrgSecurityAnonymousList from './component/org-security-anonymous-list.vue'
const OrgSecurityAnonymousListRef = ref();

const OrgSecurityAnonymousIndexStatus = reactive({
    onAddButtonClick: () => {
        OrgSecurityAnonymousListRef.value.onAddButtonClick()
    },
    onDeleteButtonClick:() => {
        OrgSecurityAnonymousListRef.value.onDeleteButtonClick()
    }
})

onMounted(() => {
    OrgSecurityAnonymousListRef.value.getOrgSecurityAnonymousTableRef().loadTable()
})
</script>
<template>
    <jxtech-basic-header>
        <template #extra>
            <jxtech-add-button @click="OrgSecurityAnonymousIndexStatus.onAddButtonClick"></jxtech-add-button>
            <jxtech-delete-button @click="OrgSecurityAnonymousIndexStatus.onDeleteButtonClick"></jxtech-delete-button>
        </template>
    </jxtech-basic-header>
    <org-security-anonymous-list ref="OrgSecurityAnonymousListRef"></org-security-anonymous-list>
</template>